<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title><?php echo $template['title']; ?></title>
    <?php echo $template['metadata']; ?>
</head>
<body>
    <div id="wrapper">
        <div id="header">
        <?php echo $template['partials']['header']; ?>
        </div>
        
        <?php if(isset($template['partials']['breadcrumb'])): ?>
        <div id="breadcrumb">
        <?php echo $template['partials']['breadcrumb']; ?>
        </div>
        <?php endif; ?>
        
        <?php if(isset($template['partials']['navigation'])): ?>
        <div id="navigation">
        <?php echo $template['partials']['navigation']; ?>
        </div>
        <?php endif; ?>
        
        <div id="content-wrapper">
            <?php if (isset($template['partials']['options'])): ?>
            <div id="content-options">
                <?php echo $template['partials']['options']; ?>
            </div>
            <?php endif; ?>
            <div id="content-inner">
            <?php echo $template['body']; ?>
            </div>
        </div>
        
        <div id="footer" class="clearfix">
        <?php echo $template['partials']['footer']; ?>
        </div>
    </div> <!-- [End] DIV#Wrapper -->
    <?php if(isset($template['partials']['scripts'])) : ?>
    <?php echo $template['partials']['scripts']; ?>
    <?php endif; ?>
</body>
</html>